﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XuanFe.Database.Model
{
    /// <summary>
    /// 订单机票模型
    /// </summary>
    public class BookingTicketModel : BaseModel
    {
        public string Id { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string BookingId { get; set; }
        /// <summary>
        /// 机票号
        /// </summary>
        public string TicketNo { get; set; }
        /// <summary>
        /// 航空公司编码
        /// </summary>
        public string AirlineId { get; set; }
        /// <summary>
        /// 航班号
        /// </summary>
        public string FlightNo { get; set; }
        /// <summary>
        /// 出发时间，yyyy-MM-dd HH:mm
        /// </summary>
        public DateTime DepartureTime { get; set; }
        /// <summary>
        /// 出发城市编码
        /// </summary>
        public string DepartureCityId { get; set; }
        /// <summary>
        /// 到达城市编码
        /// </summary>
        public string ArrivalCityId { get; set; }
        /// <summary>
        /// 票价
        /// </summary>
        public decimal TicketPrice { get; set; }
        /// <summary>
        /// 退票标识
        /// </summary>
        public bool Refund { get; set; }
    }
}
